package com.dodo.blog.request;

/**
 * @author <a href="mailto:pohorelec@comvai.com">Jozef Pohorelec</a>
 */
public class ArticlesRequest
        extends BasicRequest
{
    private String year;

    private String month;

    private String day;

    private String category;

    private String tag;

    private Boolean published;

    public ArticlesRequest( int firstRow, int maxRows )
    {
        super( firstRow, maxRows );
    }

    public String getYear()
    {
        return year;
    }

    public void setYear( String year )
    {
        this.year = year;
    }

    public String getMonth()
    {
        return month;
    }

    public void setMonth( String month )
    {
        this.month = month;
    }

    public String getDay()
    {
        return day;
    }

    public void setDay( String day )
    {
        this.day = day;
    }

    public String getCategory()
    {
        return category;
    }

    public void setCategory( String category )
    {
        this.category = category;
    }

    public String getTag()
    {
        return tag;
    }

    public void setTag( String tag )
    {
        this.tag = tag;
    }

    public Boolean isPublished()
    {
        return published;
    }

    public void setPublished( Boolean published )
    {
        this.published = published;
    }

    @Override
    public String toString()
    {
        return "ArticlesRequest{" +
                "year='" + year + '\'' +
                ", month='" + month + '\'' +
                ", day='" + day + '\'' +
                ", category='" + category + '\'' +
                ", tag='" + tag + '\'' +
                '}';
    }
}